T = 1e-3;
%Part 1
[x, d] = hwk7(pi/6, 0, 1000);
compareSymbols(x,d);
disp(' ');
figure;

%Part 2
[x, d] = hwk7(0, 1/(1000*T), 1000);
compareSymbols(x,d);
disp(' ');
figure;

%Part 3
[x, d] = hwk7(0, 0, 5);
compareSymbols(x,d);
disp(' ');
figure;
[x, d] = hwk7(0, 0, 10);
compareSymbols(x,d);
disp(' ');
figure;
[x, d] = hwk7(0, 0, 20);
compareSymbols(x,d);
disp(' ');
figure;

%Part 3
[x, d] = hwk7(pi/6, 0, 5);
compareSymbols(x,d);
disp(' ');
figure;
[x, d] = hwk7(pi/6, 0, 10);
compareSymbols(x,d);
disp(' ');
figure;
[x, d] = hwk7(pi/6, 0, 20);
compareSymbols(x,d);
disp(' ');
